package cn.liuhuan1.blogsModel.service;

import cn.liuhuan1.blogsModel.dao.DictionariesDao;
import cn.liuhuan1.webModelBean.api.DictionariesImp;
import cn.liuhuan1.webModelBean.vo.DictionariesVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class DictionariesService implements DictionariesImp {
    @Autowired
    public DictionariesDao dictionariesDao;

    @Override
    public List<DictionariesVo> getDictionaries(){
        List<DictionariesVo> dictionariesVoList = dictionariesDao.getDictionaries();
        return dictionariesVoList;
    }
}
